noinst_LTLIBRARIES = \
	libgles_utils.la

libgles_utils_la_CXXFLAGS = \
	-I$(srcdir)/third_party/khronos

libgles_utils_la_SOURCES = \
	gpu/command_buffer/common/gles2_cmd_format.h \
	gpu/command_buffer/common/gles2_cmd_utils.cc \
	gpu/command_buffer/common/gles2_cmd_utils.h \
	gpu/command_buffer/common/gles2_utils_export.h \
	gpu/command_buffer/common/logging.cc \
	gpu/command_buffer/common/logging.h

noinst_LTLIBRARIES += \
	libbase_utils.la

libbase_utils_la_CXXFLAGS = \
	-I$(srcdir)/third_party/chromium \
	`pkg-config --cflags glib-2.0 gdk-2.0 gtk+-2.0`

libbase_utils_la_CFLAGS = \
	-I$(srcdir)/third_party/chromium

libbase_utils_la_SOURCES = \
	third_party/chromium/base/third_party/dmg_fp/dmg_fp.h \
	third_party/chromium/base/third_party/dmg_fp/g_fmt.cc \
	third_party/chromium/base/third_party/dmg_fp/dtoa_wrapper.cc \
	third_party/chromium/base/third_party/icu/icu_utf.cc \
	third_party/chromium/base/third_party/icu/icu_utf.h \
	third_party/chromium/base/third_party/nspr/prtime.cc \
	third_party/chromium/base/third_party/nspr/prtime.h \
	third_party/chromium/base/third_party/nspr/prcpucfg_linux.h \
	third_party/chromium/base/third_party/xdg_mime/xdgmime.h \
	third_party/chromium/base/allocator/allocator_extension.cc \
	third_party/chromium/base/allocator/allocator_extension.h \
	third_party/chromium/base/at_exit.cc \
	third_party/chromium/base/at_exit.h \
	third_party/chromium/base/atomic_ref_count.h \
	third_party/chromium/base/atomic_sequence_num.h \
	third_party/chromium/base/atomicops.h \
	third_party/chromium/base/atomicops_internals_x86_gcc.cc \
	third_party/chromium/base/atomicops_internals_x86_gcc.h \
	third_party/chromium/base/atomicops_internals_x86_msvc.h \
	third_party/chromium/base/base_export.h \
	third_party/chromium/base/base_paths.cc \
	third_party/chromium/base/base_paths.h \
	third_party/chromium/base/base_paths_posix.cc \
	third_party/chromium/base/nix/xdg_util.cc \
	third_party/chromium/base/base_switches.h \
	third_party/chromium/base/base_switches.cc \
	third_party/chromium/base/basictypes.h \
	third_party/chromium/base/bind.h \
	third_party/chromium/base/bind_helpers.cc \
	third_party/chromium/base/bind_helpers.h \
	third_party/chromium/base/bind_internal.h \
	third_party/chromium/base/bits.h \
	third_party/chromium/base/build_time.cc \
	third_party/chromium/base/build_time.h \
	third_party/chromium/base/callback.h \
	third_party/chromium/base/callback_helpers.h \
	third_party/chromium/base/callback_internal.cc \
	third_party/chromium/base/callback_internal.h \
	third_party/chromium/base/cancelable_callback.h \
	third_party/chromium/base/command_line.cc \
	third_party/chromium/base/command_line.h \
	third_party/chromium/base/compiler_specific.h \
	third_party/chromium/base/cpu.cc \
	third_party/chromium/base/cpu.h \
	third_party/chromium/base/debug/alias.cc \
	third_party/chromium/base/debug/alias.h \
	third_party/chromium/base/debug/debugger.cc \
	third_party/chromium/base/debug/debugger.h \
	third_party/chromium/base/debug/debugger_posix.cc \
	third_party/chromium/base/debug/leak_annotations.h \
	third_party/chromium/base/debug/leak_tracker.h \
	third_party/chromium/base/debug/profiler.cc \
	third_party/chromium/base/debug/profiler.h \
	third_party/chromium/base/debug/stack_trace.cc \
	third_party/chromium/base/debug/stack_trace.h \
	third_party/chromium/base/debug/stack_trace_posix.cc \
	third_party/chromium/base/debug/trace_event.cc \
	third_party/chromium/base/debug/trace_event.h \
	third_party/chromium/base/debug/trace_event_impl.cc \
	third_party/chromium/base/debug/trace_event_impl.h \
	third_party/chromium/base/eintr_wrapper.h \
	third_party/chromium/base/environment.cc \
	third_party/chromium/base/environment.h \
	third_party/chromium/base/file_descriptor_posix.h \
	third_party/chromium/base/file_path.cc \
	third_party/chromium/base/file_path.h \
	third_party/chromium/base/file_util.cc \
	third_party/chromium/base/file_util.h \
	third_party/chromium/base/file_util_linux.cc \
	third_party/chromium/base/file_util_posix.cc \
	third_party/chromium/base/file_util_proxy.cc \
	third_party/chromium/base/file_util_proxy.h \
	third_party/chromium/base/file_version_info.h \
	third_party/chromium/base/files/dir_reader_fallback.h \
	third_party/chromium/base/files/dir_reader_linux.h \
	third_party/chromium/base/files/dir_reader_posix.h \
	third_party/chromium/base/files/file_path_watcher.cc \
	third_party/chromium/base/files/file_path_watcher.h \
	third_party/chromium/base/files/file_path_watcher_linux.cc \
	third_party/chromium/base/float_util.h \
	third_party/chromium/base/format_macros.h \
	third_party/chromium/base/global_descriptors_posix.cc \
	third_party/chromium/base/global_descriptors_posix.h \
	third_party/chromium/base/gtest_prod_util.h \
	third_party/chromium/base/guid.cc \
	third_party/chromium/base/guid.h \
	third_party/chromium/base/guid_posix.cc \
	third_party/chromium/base/hash_tables.h \
	third_party/chromium/base/hi_res_timer_manager_posix.cc \
	third_party/chromium/base/hi_res_timer_manager.h \
	third_party/chromium/base/id_map.h \
	third_party/chromium/base/json/json_file_value_serializer.cc \
	third_party/chromium/base/json/json_file_value_serializer.h \
	third_party/chromium/base/json/json_parser.cc \
	third_party/chromium/base/json/json_parser.h \
	third_party/chromium/base/json/json_reader.cc \
	third_party/chromium/base/json/json_reader.h \
	third_party/chromium/base/json/json_string_value_serializer.cc \
	third_party/chromium/base/json/json_string_value_serializer.h \
	third_party/chromium/base/json/json_value_converter.h \
	third_party/chromium/base/json/json_writer.cc \
	third_party/chromium/base/json/json_writer.h \
	third_party/chromium/base/json/string_escape.cc \
	third_party/chromium/base/json/string_escape.h \
	third_party/chromium/base/lazy_instance.cc \
	third_party/chromium/base/lazy_instance.h \
	third_party/chromium/base/linked_list.h \
	third_party/chromium/base/location.cc \
	third_party/chromium/base/location.h \
	third_party/chromium/base/logging.cc \
	third_party/chromium/base/logging.h \
	third_party/chromium/base/memory/linked_ptr.h \
	third_party/chromium/base/memory/mru_cache.h \
	third_party/chromium/base/memory/raw_scoped_refptr_mismatch_checker.h \
	third_party/chromium/base/memory/ref_counted.cc \
	third_party/chromium/base/memory/ref_counted.h \
	third_party/chromium/base/memory/ref_counted_memory.cc \
	third_party/chromium/base/memory/ref_counted_memory.h \
	third_party/chromium/base/memory/scoped_handle.h \
	third_party/chromium/base/memory/scoped_nsobject.h \
	third_party/chromium/base/memory/scoped_open_process.h \
	third_party/chromium/base/memory/scoped_policy.h \
	third_party/chromium/base/memory/scoped_ptr.h \
	third_party/chromium/base/memory/scoped_vector.h \
	third_party/chromium/base/memory/singleton.cc \
	third_party/chromium/base/memory/singleton.h \
	third_party/chromium/base/memory/weak_ptr.cc \
	third_party/chromium/base/memory/weak_ptr.h \
	third_party/chromium/base/message_loop.cc \
	third_party/chromium/base/message_loop.h \
	third_party/chromium/base/message_loop_proxy.cc \
	third_party/chromium/base/message_loop_proxy.h \
	third_party/chromium/base/message_loop_proxy_impl.cc \
	third_party/chromium/base/message_loop_proxy_impl.h \
	third_party/chromium/base/message_pump.cc \
	third_party/chromium/base/message_pump.h \
	third_party/chromium/base/message_pump_libevent.cc \
	third_party/chromium/base/message_pump_libevent.h \
	third_party/chromium/base/message_pump_default.cc \
	third_party/chromium/base/message_pump_default.h \
	third_party/chromium/base/metrics/histogram.cc \
	third_party/chromium/base/metrics/histogram.h \
	third_party/chromium/base/metrics/stats_counters.cc \
	third_party/chromium/base/metrics/stats_counters.h \
	third_party/chromium/base/metrics/stats_table.cc \
	third_party/chromium/base/metrics/stats_table.h \
	third_party/chromium/base/move.h \
	third_party/chromium/base/native_library.h \
	third_party/chromium/base/native_library_posix.cc \
	third_party/chromium/base/observer_list.h \
	third_party/chromium/base/observer_list_threadsafe.h \
	third_party/chromium/base/path_service.cc \
	third_party/chromium/base/path_service.h \
	third_party/chromium/base/pending_task.cc \
	third_party/chromium/base/pending_task.h \
	third_party/chromium/base/pickle.cc \
	third_party/chromium/base/pickle.h \
	third_party/chromium/base/platform_file.cc \
	third_party/chromium/base/platform_file.h \
	third_party/chromium/base/platform_file_posix.cc \
	third_party/chromium/base/port.h \
	third_party/chromium/base/posix/unix_domain_socket.cc \
	third_party/chromium/base/posix/unix_domain_socket.h \
	third_party/chromium/base/process.h \
	third_party/chromium/base/process_info.h \
	third_party/chromium/base/process_linux.cc \
	third_party/chromium/base/process_posix.cc \
	third_party/chromium/base/process_util.cc \
	third_party/chromium/base/process_util.h \
	third_party/chromium/base/process_util_linux.cc \
	third_party/chromium/base/process_util_posix.cc \
	third_party/chromium/base/profiler/scoped_profile.cc \
	third_party/chromium/base/profiler/scoped_profile.h \
	third_party/chromium/base/profiler/alternate_timer.cc \
	third_party/chromium/base/profiler/alternate_timer.h \
	third_party/chromium/base/profiler/tracked_time.cc \
	third_party/chromium/base/profiler/tracked_time.h \
	third_party/chromium/base/property_bag.cc \
	third_party/chromium/base/property_bag.h \
	third_party/chromium/base/rand_util.cc \
	third_party/chromium/base/rand_util.h \
	third_party/chromium/base/rand_util_posix.cc \
	third_party/chromium/base/run_loop.cc \
	third_party/chromium/base/run_loop.h \
	third_party/chromium/base/safe_strerror_posix.cc \
	third_party/chromium/base/safe_strerror_posix.h \
	third_party/chromium/base/scoped_native_library.cc \
	third_party/chromium/base/scoped_native_library.h \
	third_party/chromium/base/scoped_temp_dir.cc \
	third_party/chromium/base/scoped_temp_dir.h \
	third_party/chromium/base/sequenced_task_runner.cc \
	third_party/chromium/base/sequenced_task_runner.h \
	third_party/chromium/base/sequenced_task_runner_helpers.h \
	third_party/chromium/base/sha1.h \
	third_party/chromium/base/sha1_portable.cc \
	third_party/chromium/base/shared_memory.h \
	third_party/chromium/base/shared_memory_posix.cc \
	third_party/chromium/base/single_thread_task_runner.h \
	third_party/chromium/base/stack_container.h \
	third_party/chromium/base/stl_util.h \
	third_party/chromium/base/string_number_conversions.cc \
	third_party/chromium/base/string_number_conversions.h \
	third_party/chromium/base/string_piece.cc \
	third_party/chromium/base/string_piece.h \
	third_party/chromium/base/string_split.cc \
	third_party/chromium/base/string_split.h \
	third_party/chromium/base/string_tokenizer.h \
	third_party/chromium/base/string_util.cc \
	third_party/chromium/base/string_util.h \
	third_party/chromium/base/string_util_posix.h \
	third_party/chromium/base/stringize_macros.h \
	third_party/chromium/base/stringprintf.cc \
	third_party/chromium/base/stringprintf.h \
	third_party/chromium/base/supports_user_data.cc \
	third_party/chromium/base/supports_user_data.h \
	third_party/chromium/base/synchronization/cancellation_flag.cc \
	third_party/chromium/base/synchronization/cancellation_flag.h \
	third_party/chromium/base/synchronization/condition_variable.h \
	third_party/chromium/base/synchronization/condition_variable_posix.cc \
	third_party/chromium/base/synchronization/lock.cc \
	third_party/chromium/base/synchronization/lock.h \
	third_party/chromium/base/synchronization/lock_impl.h \
	third_party/chromium/base/synchronization/lock_impl_posix.cc \
	third_party/chromium/base/synchronization/spin_wait.h \
	third_party/chromium/base/synchronization/waitable_event.h \
	third_party/chromium/base/synchronization/waitable_event_posix.cc \
	third_party/chromium/base/synchronization/waitable_event_watcher.h \
	third_party/chromium/base/synchronization/waitable_event_watcher_posix.cc \
	third_party/chromium/base/system_monitor/system_monitor.cc \
	third_party/chromium/base/system_monitor/system_monitor.h \
	third_party/chromium/base/system_monitor/system_monitor_posix.cc \
	third_party/chromium/base/sys_byteorder.h \
	third_party/chromium/base/sys_info.h \
	third_party/chromium/base/sys_info_linux.cc \
	third_party/chromium/base/sys_info_posix.cc \
	third_party/chromium/base/sys_string_conversions.h \
	third_party/chromium/base/sys_string_conversions_posix.cc \
	third_party/chromium/base/task_runner.cc \
	third_party/chromium/base/task_runner.h \
	third_party/chromium/base/task_runner_util.h \
	third_party/chromium/base/template_util.h \
	third_party/chromium/base/thread_task_runner_handle.cc \
	third_party/chromium/base/thread_task_runner_handle.h \
	third_party/chromium/base/threading/non_thread_safe.h \
	third_party/chromium/base/threading/non_thread_safe_impl.cc \
	third_party/chromium/base/threading/non_thread_safe_impl.h \
	third_party/chromium/base/threading/platform_thread.h \
	third_party/chromium/base/threading/platform_thread_posix.cc \
	third_party/chromium/base/threading/post_task_and_reply_impl.cc \
	third_party/chromium/base/threading/post_task_and_reply_impl.h \
	third_party/chromium/base/threading/sequenced_worker_pool.cc \
	third_party/chromium/base/threading/sequenced_worker_pool.h \
	third_party/chromium/base/threading/simple_thread.cc \
	third_party/chromium/base/threading/simple_thread.h \
	third_party/chromium/base/threading/thread.cc \
	third_party/chromium/base/threading/thread.h \
	third_party/chromium/base/threading/thread_checker.h \
	third_party/chromium/base/threading/thread_checker_impl.cc \
	third_party/chromium/base/threading/thread_checker_impl.h \
	third_party/chromium/base/threading/thread_collision_warner.cc \
	third_party/chromium/base/threading/thread_collision_warner.h \
	third_party/chromium/base/threading/thread_local.h \
	third_party/chromium/base/threading/thread_local_posix.cc \
	third_party/chromium/base/threading/thread_local_storage.h \
	third_party/chromium/base/threading/thread_local_storage_posix.cc \
	third_party/chromium/base/threading/thread_restrictions.h \
	third_party/chromium/base/threading/thread_restrictions.cc \
	third_party/chromium/base/threading/watchdog.cc \
	third_party/chromium/base/threading/watchdog.h \
	third_party/chromium/base/threading/worker_pool.h \
	third_party/chromium/base/threading/worker_pool.cc \
	third_party/chromium/base/threading/worker_pool_posix.cc \
	third_party/chromium/base/threading/worker_pool_posix.h \
	third_party/chromium/base/time.cc \
	third_party/chromium/base/time.h \
	third_party/chromium/base/timer.cc \
	third_party/chromium/base/timer.h \
	third_party/chromium/base/tracked_objects.cc \
	third_party/chromium/base/tracked_objects.h \
	third_party/chromium/base/tracking_info.cc \
	third_party/chromium/base/tracking_info.h \
	third_party/chromium/base/tuple.h \
	third_party/chromium/base/utf_offset_string_conversions.cc \
	third_party/chromium/base/utf_offset_string_conversions.h \
	third_party/chromium/base/utf_string_conversion_utils.cc \
	third_party/chromium/base/utf_string_conversion_utils.h \
	third_party/chromium/base/utf_string_conversions.cc \
	third_party/chromium/base/utf_string_conversions.h \
	third_party/chromium/base/values.cc \
	third_party/chromium/base/values.h \
	third_party/chromium/base/value_conversions.cc \
	third_party/chromium/base/value_conversions.h \
	third_party/chromium/base/version.cc \
	third_party/chromium/base/version.h \
	third_party/chromium/base/vlog.cc \
	third_party/chromium/base/vlog.h \
	third_party/chromium/base/third_party/nspr/prcpucfg.h \
	third_party/chromium/base/third_party/nspr/prtypes.h \
	third_party/chromium/base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc \
	third_party/chromium/base/third_party/xdg_user_dirs/xdg_user_dir_lookup.h \
	third_party/chromium/base/auto_reset.h \
	third_party/chromium/base/base64.cc \
	third_party/chromium/base/base64.h \
	third_party/chromium/base/event_recorder.h \
	third_party/chromium/base/event_recorder_stubs.cc \
	third_party/chromium/base/file_descriptor_shuffle.cc \
	third_party/chromium/base/file_descriptor_shuffle.h \
	third_party/chromium/base/linux_util.cc \
	third_party/chromium/base/linux_util.h \
	third_party/chromium/base/md5.cc \
	third_party/chromium/base/md5.h \
	third_party/chromium/base/message_pump_glib.cc \
	third_party/chromium/base/message_pump_glib.h \
	third_party/chromium/base/message_pump_gtk.cc \
	third_party/chromium/base/message_pump_gtk.h \
	third_party/chromium/base/message_pump_observer.h \
	third_party/chromium/base/metrics/field_trial.cc \
	third_party/chromium/base/metrics/field_trial.h \
	third_party/chromium/base/string16.cc \
	third_party/chromium/base/string16.h \
	third_party/chromium/base/sync_socket.h \
	third_party/chromium/base/sync_socket_posix.cc \
	third_party/chromium/base/time_posix.cc \
	third_party/chromium/base/third_party/dynamic_annotations/dynamic_annotations.h \
	third_party/chromium/base/third_party/dynamic_annotations/dynamic_annotations.c \
	third_party/chromium/base/third_party/valgrind/valgrind.h


noinst_LTLIBRARIES += \
	libcrypto_utils.la

libcrypto_utils_la_CXXFLAGS = \
	-I$(srcdir)/third_party/chromium \
	-D USE_OPENSSL

libcrypto_utils_la_SOURCES = \
	third_party/chromium/crypto/crypto_export.h \
	third_party/chromium/crypto/crypto_module_blocking_password_delegate.h \
	third_party/chromium/crypto/ec_private_key.h \
	third_party/chromium/crypto/ec_signature_creator.cc \
	third_party/chromium/crypto/ec_signature_creator.h \
	third_party/chromium/crypto/ec_signature_creator_impl.h \
	third_party/chromium/crypto/encryptor.cc \
	third_party/chromium/crypto/encryptor.h \
	third_party/chromium/crypto/p224_spake.cc \
	third_party/chromium/crypto/p224_spake.h \
	third_party/chromium/crypto/nss_util_internal.h \
	third_party/chromium/crypto/p224.cc \
	third_party/chromium/crypto/p224.h \
	third_party/chromium/crypto/rsa_private_key.cc \
	third_party/chromium/crypto/rsa_private_key.h \
	third_party/chromium/crypto/scoped_capi_types.h \
	third_party/chromium/crypto/scoped_nss_types.h \
	third_party/chromium/crypto/secure_hash.h \
	third_party/chromium/crypto/sha2.cc \
	third_party/chromium/crypto/sha2.h \
	third_party/chromium/crypto/signature_creator.h \
	third_party/chromium/crypto/signature_verifier.h \
	third_party/chromium/crypto/ec_private_key_openssl.cc \
	third_party/chromium/crypto/ec_signature_creator_openssl.cc \
	third_party/chromium/crypto/encryptor_openssl.cc \
	third_party/chromium/crypto/secure_util.cc \
	third_party/chromium/crypto/hmac.cc \
	third_party/chromium/crypto/hmac_openssl.cc \
	third_party/chromium/crypto/openssl_util.cc \
	third_party/chromium/crypto/openssl_util.h \
	third_party/chromium/crypto/rsa_private_key_openssl.cc \
	third_party/chromium/crypto/secure_hash_openssl.cc \
	third_party/chromium/crypto/signature_creator_openssl.cc \
	third_party/chromium/crypto/signature_verifier_openssl.cc \
	third_party/chromium/crypto/symmetric_key_openssl.cc

noinst_LTLIBRARIES += \
	libangle.la

libangle_la_CXXFLAGS = \
	-I$(srcdir)/third_party/angle/include \
	-I$(srcdir)/third_party/angle/src \
        -D ANGLE_DISABLE_TRACE \
        -D ANGLE_COMPILE_OPTIMIZATION_LEVEL=D3DCOMPILE_OPTIMIZATION_LEVEL0

libangle_la_CFLAGS = \
	-I$(srcdir)/third_party/angle/include \
	-I$(srcdir)/third_party/angle/src

libangle_la_SOURCES = \
	third_party/angle/src/compiler/preprocessor/new/Diagnostics.cpp \
	third_party/angle/src/compiler/preprocessor/new/Diagnostics.h \
	third_party/angle/src/compiler/preprocessor/new/DirectiveHandler.cpp \
	third_party/angle/src/compiler/preprocessor/new/DirectiveHandler.h \
	third_party/angle/src/compiler/preprocessor/new/DirectiveParser.cpp \
	third_party/angle/src/compiler/preprocessor/new/DirectiveParser.h \
	third_party/angle/src/compiler/preprocessor/new/ExpressionParser.cpp \
	third_party/angle/src/compiler/preprocessor/new/ExpressionParser.h \
	third_party/angle/src/compiler/preprocessor/new/Input.cpp \
	third_party/angle/src/compiler/preprocessor/new/Input.h \
	third_party/angle/src/compiler/preprocessor/new/Lexer.cpp \
	third_party/angle/src/compiler/preprocessor/new/Lexer.h \
	third_party/angle/src/compiler/preprocessor/new/Macro.cpp \
	third_party/angle/src/compiler/preprocessor/new/Macro.h \
	third_party/angle/src/compiler/preprocessor/new/MacroExpander.cpp \
	third_party/angle/src/compiler/preprocessor/new/MacroExpander.h \
	third_party/angle/src/compiler/preprocessor/new/pp_utils.h \
	third_party/angle/src/compiler/preprocessor/new/Preprocessor.cpp \
	third_party/angle/src/compiler/preprocessor/new/Preprocessor.h \
	third_party/angle/src/compiler/preprocessor/new/SourceLocation.h \
	third_party/angle/src/compiler/preprocessor/new/Token.cpp \
	third_party/angle/src/compiler/preprocessor/new/Token.h \
	third_party/angle/src/compiler/preprocessor/new/Tokenizer.cpp \
	third_party/angle/src/compiler/preprocessor/new/Tokenizer.h \
	third_party/angle/src/compiler/ossource_posix.cpp \
	third_party/angle/src/compiler/BaseTypes.h \
	third_party/angle/src/compiler/BuiltInFunctionEmulator.cpp \
	third_party/angle/src/compiler/BuiltInFunctionEmulator.h \
	third_party/angle/src/compiler/Common.h \
	third_party/angle/src/compiler/Compiler.cpp \
	third_party/angle/src/compiler/ConstantUnion.h \
	third_party/angle/src/compiler/debug.cpp \
	third_party/angle/src/compiler/debug.h \
	third_party/angle/src/compiler/DetectRecursion.cpp \
	third_party/angle/src/compiler/DetectRecursion.h \
	third_party/angle/src/compiler/TDiagnostics.h \
	third_party/angle/src/compiler/TDiagnostics.cpp \
	third_party/angle/src/compiler/TDirectiveHandler.h \
	third_party/angle/src/compiler/TDirectiveHandler.cpp \
	third_party/angle/src/compiler/ExtensionBehavior.h \
	third_party/angle/src/compiler/ForLoopUnroll.cpp \
	third_party/angle/src/compiler/ForLoopUnroll.h \
	third_party/angle/src/compiler/glslang.h \
	third_party/angle/src/compiler/glslang_lex.cpp \
	third_party/angle/src/compiler/glslang_tab.cpp \
	third_party/angle/src/compiler/glslang_tab.h \
	third_party/angle/src/compiler/InfoSink.cpp \
	third_party/angle/src/compiler/InfoSink.h \
	third_party/angle/src/compiler/Initialize.cpp \
	third_party/angle/src/compiler/Initialize.h \
	third_party/angle/src/compiler/InitializeDll.cpp \
	third_party/angle/src/compiler/InitializeDll.h \
	third_party/angle/src/compiler/InitializeGlobals.h \
	third_party/angle/src/compiler/InitializeParseContext.cpp \
	third_party/angle/src/compiler/InitializeParseContext.h \
	third_party/angle/src/compiler/Intermediate.cpp \
	third_party/angle/src/compiler/intermediate.h \
	third_party/angle/src/compiler/intermOut.cpp \
	third_party/angle/src/compiler/IntermTraverse.cpp \
	third_party/angle/src/compiler/localintermediate.h \
	third_party/angle/src/compiler/MapLongVariableNames.cpp \
	third_party/angle/src/compiler/MapLongVariableNames.h \
	third_party/angle/src/compiler/MMap.h \
	third_party/angle/src/compiler/osinclude.h \
	third_party/angle/src/compiler/parseConst.cpp \
	third_party/angle/src/compiler/ParseHelper.cpp \
	third_party/angle/src/compiler/ParseHelper.h \
	third_party/angle/src/compiler/PoolAlloc.cpp \
	third_party/angle/src/compiler/PoolAlloc.h \
	third_party/angle/src/compiler/QualifierAlive.cpp \
	third_party/angle/src/compiler/QualifierAlive.h \
	third_party/angle/src/compiler/RemoveTree.cpp \
	third_party/angle/src/compiler/RemoveTree.h \
	third_party/angle/src/compiler/RenameFunction.h \
	third_party/angle/src/compiler/ShHandle.h \
	third_party/angle/src/compiler/SymbolTable.cpp \
	third_party/angle/src/compiler/SymbolTable.h \
	third_party/angle/src/compiler/Types.h \
	third_party/angle/src/compiler/util.cpp \
	third_party/angle/src/compiler/util.h \
	third_party/angle/src/compiler/ValidateLimitations.cpp \
	third_party/angle/src/compiler/ValidateLimitations.h \
	third_party/angle/src/compiler/VariableInfo.cpp \
	third_party/angle/src/compiler/VariableInfo.h \
	third_party/angle/src/compiler/preprocessor/atom.c \
	third_party/angle/src/compiler/preprocessor/atom.h \
	third_party/angle/src/compiler/preprocessor/compile.h \
	third_party/angle/src/compiler/preprocessor/cpp.c \
	third_party/angle/src/compiler/preprocessor/cpp.h \
	third_party/angle/src/compiler/preprocessor/cppstruct.c \
	third_party/angle/src/compiler/preprocessor/length_limits.h \
	third_party/angle/src/compiler/preprocessor/memory.c \
	third_party/angle/src/compiler/preprocessor/memory.h \
	third_party/angle/src/compiler/preprocessor/parser.h \
	third_party/angle/src/compiler/preprocessor/preprocess.h \
	third_party/angle/src/compiler/preprocessor/scanner.c \
	third_party/angle/src/compiler/preprocessor/scanner.h \
	third_party/angle/src/compiler/preprocessor/slglobals.h \
	third_party/angle/src/compiler/preprocessor/symbols.c \
	third_party/angle/src/compiler/preprocessor/symbols.h \
	third_party/angle/src/compiler/preprocessor/tokens.c \
	third_party/angle/src/compiler/preprocessor/tokens.h \
	third_party/angle/src/compiler/depgraph/DependencyGraph.cpp \
	third_party/angle/src/compiler/depgraph/DependencyGraph.h \
	third_party/angle/src/compiler/depgraph/DependencyGraphBuilder.cpp \
	third_party/angle/src/compiler/depgraph/DependencyGraphBuilder.h \
	third_party/angle/src/compiler/depgraph/DependencyGraphOutput.cpp \
	third_party/angle/src/compiler/depgraph/DependencyGraphOutput.h \
	third_party/angle/src/compiler/depgraph/DependencyGraphTraverse.cpp \
	third_party/angle/src/compiler/timing/RestrictFragmentShaderTiming.cpp \
	third_party/angle/src/compiler/timing/RestrictFragmentShaderTiming.h \
	third_party/angle/src/compiler/timing/RestrictVertexShaderTiming.cpp \
	third_party/angle/src/compiler/timing/RestrictVertexShaderTiming.h \
	third_party/angle/src/compiler/CodeGenGLSL.cpp \
	third_party/angle/src/compiler/OutputESSL.cpp \
	third_party/angle/src/compiler/OutputESSL.h \
	third_party/angle/src/compiler/OutputGLSLBase.cpp \
	third_party/angle/src/compiler/OutputGLSLBase.h \
	third_party/angle/src/compiler/OutputGLSL.cpp \
	third_party/angle/src/compiler/OutputGLSL.h \
	third_party/angle/src/compiler/ShaderLang.cpp \
	third_party/angle/src/compiler/TranslatorESSL.cpp \
	third_party/angle/src/compiler/TranslatorESSL.h \
	third_party/angle/src/compiler/TranslatorGLSL.cpp \
	third_party/angle/src/compiler/TranslatorGLSL.h \
	third_party/angle/src/compiler/VersionGLSL.cpp \
	third_party/angle/src/compiler/VersionGLSL.h

noinst_LTLIBRARIES += \
	libgfx_utils.la

libgfx_utils_la_CXXFLAGS = \
	-I$(srcdir)/third_party/chromium \
	-I$(srcdir)/third_party/mesa \
	`pkg-config --cflags gdk-2.0 gtk+-2.0`

libgfx_utils_la_SOURCES = \
	third_party/chromium/ui/gl/gl_bindings.h \
	third_party/chromium/ui/gl/gl_context.cc \
	third_party/chromium/ui/gl/gl_context.h \
	third_party/chromium/ui/gl/gl_context_linux.cc \
	third_party/chromium/ui/gl/gl_context_osmesa.cc \
	third_party/chromium/ui/base/x/active_window_watcher_x.cc \
	third_party/chromium/ui/base/x/active_window_watcher_x.h \
	third_party/chromium/ui/base/x/active_window_watcher_x_observer.h \
	third_party/chromium/ui/base/x/events_x.cc \
	third_party/chromium/ui/base/x/root_window_property_watcher_x.cc \
	third_party/chromium/ui/base/x/root_window_property_watcher_x.h \
	third_party/chromium/ui/base/x/valuators.cc \
	third_party/chromium/ui/base/x/valuators.h \
	third_party/chromium/ui/base/x/work_area_watcher_x.cc \
	third_party/chromium/ui/base/x/work_area_watcher_x.h \
	third_party/chromium/ui/base/x/x11_util.cc \
	third_party/chromium/ui/base/x/x11_util.h \
	third_party/chromium/ui/base/x/x11_util_internal.h \
	third_party/chromium/ui/base/keycodes/keyboard_code_conversion_x.cc \
	third_party/chromium/ui/gl/gl_context_stub.cc \
	third_party/chromium/ui/gl/gl_context_stub.h \
	third_party/chromium/ui/gl/gl_export.h \
	third_party/chromium/ui/gl/gl_fence.cc \
	third_party/chromium/ui/gl/gl_fence.h \
	third_party/chromium/ui/gl/gl_implementation.cc \
	third_party/chromium/ui/gl/gl_implementation_linux.cc \
	third_party/chromium/ui/gl/gl_implementation.h \
	third_party/chromium/ui/gl/gl_interface.cc \
	third_party/chromium/ui/gl/gl_interface.h \
	third_party/chromium/ui/gl/gl_share_group.cc \
	third_party/chromium/ui/gl/gl_share_group.h \
	third_party/chromium/ui/gl/gl_surface.cc \
	third_party/chromium/ui/gl/gl_surface.h \
	third_party/chromium/ui/gl/gl_surface_linux.cc \
	third_party/chromium/ui/gl/gl_surface_linux.h \
	third_party/chromium/ui/gl/gl_surface_stub.cc \
	third_party/chromium/ui/gl/gl_surface_stub.h \
	third_party/chromium/ui/gl/gl_surface_osmesa.cc \
	third_party/chromium/ui/gl/gl_surface_osmesa.h \
	third_party/chromium/ui/gl/egl_util.cc \
	third_party/chromium/ui/gl/egl_util.h \
	third_party/chromium/ui/gl/gl_switches.cc \
	third_party/chromium/ui/gl/gl_switches.h \
	third_party/chromium/ui/gl/scoped_make_current.cc \
	third_party/chromium/ui/gl/scoped_make_current.h \
	third_party/chromium/ui/generated_bindings_ui/gl_bindings_autogen_gl.cc \
	third_party/chromium/ui/generated_bindings_ui/gl_bindings_autogen_gl.h \
	third_party/chromium/ui/generated_bindings_ui/gl_bindings_autogen_glx.cc \
	third_party/chromium/ui/generated_bindings_ui/gl_bindings_autogen_glx.h \
	third_party/chromium/ui/generated_bindings_ui/gl_bindings_autogen_egl.cc \
	third_party/chromium/ui/generated_bindings_ui/gl_bindings_autogen_egl.h \
	third_party/chromium/ui/generated_bindings_ui/gl_bindings_autogen_osmesa.cc \
	third_party/chromium/ui/generated_bindings_ui/gl_bindings_autogen_osmesa.h \
	third_party/chromium/ui/generated_bindings_ui/gl_bindings_autogen_mock.cc \
	third_party/chromium/ui/gl/gl_context_glx.cc \
	third_party/chromium/ui/gl/gl_context_glx.h \
	third_party/chromium/ui/gl/gl_surface_glx.cc \
	third_party/chromium/ui/gl/gl_surface_glx.h \
	third_party/chromium/ui/gl/gl_context_egl.cc \
	third_party/chromium/ui/gl/gl_context_egl.h \
	third_party/chromium/ui/gl/gl_surface_egl.cc \
	third_party/chromium/ui/gl/gl_surface_egl.h

lib_LTLIBRARIES = \
	libgpu_service.la

libgpu_service_la_CXXFLAGS = \
	-I$(srcdir)/third_party/khronos \
	-I$(srcdir)/third_party/chromium

libgpu_service_la_SOURCES = \
	gpu/command_buffer/client/atomicops.cc \
	gpu/command_buffer/client/atomicops.h \
	gpu/command_buffer/client/cmd_buffer_helper.cc \
	gpu/command_buffer/client/cmd_buffer_helper.h \
	gpu/command_buffer/client/fenced_allocator.cc \
	gpu/command_buffer/client/fenced_allocator.h \
	gpu/command_buffer/client/hash_tables.h \
	gpu/command_buffer/client/mapped_memory.cc \
	gpu/command_buffer/client/mapped_memory.h \
	gpu/command_buffer/client/query_tracker.cc \
	gpu/command_buffer/client/query_tracker.h \
	gpu/command_buffer/client/ring_buffer.cc \
	gpu/command_buffer/client/ring_buffer.h \
	gpu/command_buffer/client/transfer_buffer.cc \
	gpu/command_buffer/client/transfer_buffer.h \
	gpu/command_buffer/client/gles2_c_lib.cc \
	gpu/command_buffer/client/gles2_c_lib_autogen.h \
	gpu/command_buffer/client/gles2_c_lib_export.h \
	gpu/command_buffer/client/gles2_cmd_helper.cc \
	gpu/command_buffer/client/gles2_cmd_helper.h \
	gpu/command_buffer/client/gles2_cmd_helper_autogen.h \
	gpu/command_buffer/client/gles2_lib.h \
	gpu/command_buffer/client/gles2_lib.cc \
	gpu/command_buffer/client/gles2_impl_export.h \
	gpu/command_buffer/client/gles2_implementation_autogen.h \
	gpu/command_buffer/client/gles2_implementation.cc \
	gpu/command_buffer/client/gles2_implementation.h \
	gpu/command_buffer/client/program_info_manager.cc \
	gpu/command_buffer/client/program_info_manager.h \
	gpu/command_buffer/client/share_group.cc \
	gpu/command_buffer/client/share_group.h \
	gpu/command_buffer/service/buffer_manager.h \
	gpu/command_buffer/service/buffer_manager.cc \
	gpu/command_buffer/service/framebuffer_manager.h \
	gpu/command_buffer/service/framebuffer_manager.cc \
	gpu/command_buffer/service/cmd_buffer_engine.h \
	gpu/command_buffer/service/cmd_parser.cc \
	gpu/command_buffer/service/cmd_parser.h \
	gpu/command_buffer/service/command_buffer_service.cc \
	gpu/command_buffer/service/command_buffer_service.h \
	gpu/command_buffer/service/common_decoder.cc \
	gpu/command_buffer/service/common_decoder.h \
	gpu/command_buffer/service/context_group.h \
	gpu/command_buffer/service/context_group.cc \
	gpu/command_buffer/service/feature_info.h \
	gpu/command_buffer/service/feature_info.cc \
	gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc \
	gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h \
	gpu/command_buffer/service/gles2_cmd_decoder.h \
	gpu/command_buffer/service/gles2_cmd_decoder_autogen.h \
	gpu/command_buffer/service/gles2_cmd_decoder.cc \
	gpu/command_buffer/service/gles2_cmd_validation.h \
	gpu/command_buffer/service/gles2_cmd_validation.cc \
	gpu/command_buffer/service/gles2_cmd_validation_autogen.h \
	gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h \
	gpu/command_buffer/service/gl_utils.h \
	gpu/command_buffer/service/gpu_scheduler.h \
	gpu/command_buffer/service/gpu_scheduler.cc \
	gpu/command_buffer/service/gpu_scheduler_mock.h \
	gpu/command_buffer/service/gpu_switches.h \
	gpu/command_buffer/service/gpu_switches.cc \
	gpu/command_buffer/service/id_manager.h \
	gpu/command_buffer/service/id_manager.cc \
	gpu/command_buffer/service/mailbox_manager.cc \
	gpu/command_buffer/service/mailbox_manager.h \
	gpu/command_buffer/service/mocks.h \
	gpu/command_buffer/service/program_manager.h \
	gpu/command_buffer/service/program_manager.cc \
	gpu/command_buffer/service/query_manager.h \
	gpu/command_buffer/service/query_manager.cc \
	gpu/command_buffer/service/renderbuffer_manager.h \
	gpu/command_buffer/service/renderbuffer_manager.cc \
	gpu/command_buffer/service/shader_manager.h \
	gpu/command_buffer/service/shader_manager.cc \
	gpu/command_buffer/service/shader_translator.h \
	gpu/command_buffer/service/shader_translator.cc \
	gpu/command_buffer/service/shader_translator_cache.h \
	gpu/command_buffer/service/shader_translator_cache.cc \
	gpu/command_buffer/service/stream_texture.h \
	gpu/command_buffer/service/stream_texture_manager.h \
	gpu/command_buffer/service/texture_definition.cc \
	gpu/command_buffer/service/texture_definition.h \
	gpu/command_buffer/service/texture_manager.h \
	gpu/command_buffer/service/texture_manager.cc \
	gpu/command_buffer/service/transfer_buffer_manager.cc \
	gpu/command_buffer/service/transfer_buffer_manager.h \
	gpu/command_buffer/service/vertex_attrib_manager.h \
	gpu/command_buffer/service/vertex_attrib_manager.cc \
	gpu/command_buffer/common/bitfield_helpers.h \
	gpu/command_buffer/common/buffer.h \
	gpu/command_buffer/common/cmd_buffer_common.h \
	gpu/command_buffer/common/cmd_buffer_common.cc \
	gpu/command_buffer/common/command_buffer.h \
	gpu/command_buffer/common/compiler_specific.h \
	gpu/command_buffer/common/constants.h \
	gpu/command_buffer/common/gles2_cmd_ids_autogen.h \
	gpu/command_buffer/common/gles2_cmd_ids.h \
	gpu/command_buffer/common/gles2_cmd_format_autogen.h \
	gpu/command_buffer/common/gles2_cmd_format.cc \
	gpu/command_buffer/common/gles2_cmd_format.h \
	gpu/command_buffer/common/id_allocator.cc \
	gpu/command_buffer/common/id_allocator.h \
	gpu/command_buffer/common/thread_local.h \
	gpu/command_buffer/common/types.h

noinst_PROGRAMS = \
	demo_triangle

demo_triangle_SOURCES = \
	gpu/demos/hello_triangle.c \
	gpu/demos/glx-utils.c \
	third_party/gles2_book/Chapter_2/Hello_Triangle/Hello_Triangle.c \
	third_party/gles2_book/Common/Source/esShader.c \
	third_party/gles2_book/Common/Source/esShapes.c \
	third_party/gles2_book/Common/Source/esTransform.c \
	third_party/gles2_book/Common/Source/esUtil.c

demo_triangle_CFLAGS = \
	-I$(srcdir)/third_party/gles2_book/Common/Include \
	-I$(srcdir)/third_party/gles2_book/Chapter_2/Hello_Triangle

demo_triangle_LDFLAGS = \
	-L/home/alex/install/lib -lm -lGL -lselinux -lX11

noinst_PROGRAMS += \
	demo_hello_triangle_buffer

demo_hello_triangle_buffer_SOURCES = \
	gpu/demos/framework/demo.cc \
	gpu/demos/framework/demo_factory.h \
	gpu/demos/framework/demo.h \
	gpu/demos/framework/main_exe.cc \
	gpu/demos/framework/window.cc \
	gpu/demos/framework/window.h \
	gpu/demos/framework/window_linux.cc \
	gpu/demos/gles2_book/demo_hello_triangle.cc \
	third_party/gles2_book/Chapter_2/Hello_Triangle/Hello_Triangle.c \
	third_party/gles2_book/Common/Source/esShader.c \
	third_party/gles2_book/Common/Source/esShapes.c \
	third_party/gles2_book/Common/Source/esTransform.c \
	third_party/gles2_book/Common/Source/esUtil.c \
	third_party/chromium/ui/gfx/size.cc \
	third_party/chromium/ui/gfx/size.h \
	third_party/chromium/ui/gfx/rect.cc \
	third_party/chromium/ui/gfx/rect.h \
	third_party/chromium/ui/gfx/point.cc \
	third_party/chromium/ui/gfx/point.h

demo_hello_triangle_buffer_CXXFLAGS = \
	-D UI_IMPLEMENTATION \
	-I$(srcdir)/third_party/khronos \
	-I$(srcdir)/third_party/chromium \
	-I$(srcdir)/third_party/gles2_book/Common/Include \
	-I$(srcdir)/third_party/gles2_book/Chapter_2/Hello_Triangle \
	`pkg-config --cflags gtk+-2.0`

demo_hello_triangle_buffer_CFLAGS = \
	-I$(srcdir)/third_party/khronos \
	-I$(srcdir)/third_party/chromium \
	-I$(srcdir)/third_party/gles2_book/Common/Include \
	-I$(srcdir)/third_party/gles2_book/Chapter_2/Hello_Triangle

demo_hello_triangle_buffer_LDADD = \
	libgfx_utils.la \
	libcrypto_utils.la \
	libangle.la \
	libbase_utils.la \
	libgles_utils.la

demo_hello_triangle_buffer_LDFLAGS = \
	-L/home/alex/install/lib -lm -lGL -lselinux -lX11 -lrt \
	 -lXext -levent -ldl -lXrender -lgpu_service \
	`pkg-config --libs gtk+-2.0` \
	`pkg-config --libs openssl`
